<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>transition动画</title>
    <style type="text/css">
        .box {
            width: 100px;
            height: 100px;
            background-color: #6DDCBD;

            /*transition-property: width;*/
            /*transition-duration: 500ms;*/
            /*transition-timing-function: ease; !* 过度运动方式 ease：缓冲*!*/
            /*transition-delay: 100ms; !* 延迟 *!*/
            /*transition: width 500ms ease,height 500ms ease 500ms,background-color 1s ease;*/
            /* 多个属性同时做动画 */
            transition: all 500ms ease;
        }
        .box:hover{
            width: 300px;
            height: 500px;
            background-color: darkorange;
        }
    </style>
</head>
<body>
    <div class="box">

    </div>
</body>
</html>